import request from '@/utils/request'

// 查询用户查看记录列表
export function listAUserRecord(query) {
  return request({
    url: '/gf/aUserRecord/list',
    method: 'get',
    params: query
  })
}

// 查询用户查看记录详细
export function getAUserRecord(id) {
  return request({
    url: '/gf/aUserRecord/' + id,
    method: 'get'
  })
}

// 新增用户查看记录
export function addAUserRecord(data) {
  return request({
    url: '/gf/aUserRecord',
    method: 'post',
    data: data
  })
}

// 修改用户查看记录
export function updateAUserRecord(data) {
  return request({
    url: '/gf/aUserRecord',
    method: 'put',
    data: data
  })
}

// 删除用户查看记录
export function delAUserRecord(id) {
  return request({
    url: '/gf/aUserRecord/' + id,
    method: 'delete'
  })
}

// 逻辑删除用户查看记录
export function logicDelAUserRecord(id) {
  return request({
    url: '/gf/aUserRecord/logicDel/' + id,
    method: 'delete'
  })
}
